import Layout from '@/layout'

const market = {
  path: '/market',
  component: Layout,
  // redirect: '/market/seo',
  // name: 'Market',
  meta: { title: '营销' },
  children: [
    // {
    //   path: '/Plugin/index',
    //   name: 'Plugin',
    //   component: () => import('@/views/system/plugin.vue'),
    //   meta: { title: '插件管理', name: '1' }
    // },
    {
      path: 'index',
      component: () => import('@/views/market/index'), // Parent router-view
      name: 'Index',
      meta: { title: 'SEO', name: '98' },
      children: [
        {
          path: '/StaticFile/index',
          name: 'StaticFile',
          component: () => import('@/views/staticFile/index'),
          meta: { title: '网站静态化', noCache: true, name: '32' }
        },
        {
          path: '/Keyword/index',
          component: () => import('@/views/market/seo/keyWords/keyWords'),
          name: 'keyWords',
          meta: { title: '关键词管理', name: '98' }
        },
        {
          path: '/InnerChart/index',
          component: () => import('@/views/market/seo/innerLink'),
          name: 'InnerChart',
          meta: { title: '内链管理', name: '98' }
        },

        {
          path: '/Link/index',
          component: () => import('@/views/market/seo/friendLink/friendLink'),
          name: 'friendLink',
          meta: { title: '友情链接', name: '98' }
        },
        {
          path: '/addLink',
          component: () => import('@/views/market/seo/friendLink/addLink'),
          name: 'addLink',
          meta: {
            title: '添加链接',
            guidePath: 'true',
            jumpPath: '/Link/index',
            name: '98'
          }
        },
        {
          path: '/updateLink',
          component: () => import('@/views/market/seo/friendLink/addLink'),
          name: 'updateLink',
          meta: {
            title: '编辑链接',
            guidePath: 'true',
            jumpPath: '/Link/index',
            name: '98'
          }
        },
        {
          path: '/linkInfo',
          component: () => import('@/views/market/seo/friendLink/linkInfo'),
          name: 'linkInfo',
          meta: {
            title: '链接详情',
            guidePath: 'true',
            jumpPath: '/Link/index',
            name: '98'
          }
        },
        {
          path: '/seoCheck/index',
          component: () => import('@/views/market/seoCheck/index'),
          name: 'seocheck',
          meta: { title: 'SEO分析诊断', name: '98' }
        },
        {
          path: '/seoCheck/report',
          component: () => import('@/views/market/seoCheck/report'),
          name: 'checkreport',
          meta: { title: 'SEO分析诊断报告', name: '98' }
        }
      ]
    },
    // {
    //   path: 'sem',
    //   component: () => import('@/views/market/sem/index'),
    //   name: 'sem',
    //   meta: { title: '统计分析', icon: 'icon-shujufenxi', name: '98' },
    //   children: [
    //     {
    //       path: '/SEM/account',
    //       component: () => import('@/views/market/sem/account'),
    //       name: 'seoAccount',
    //       meta: { title: '账号管理', name: '98' }
    //     },
    //     {
    //       path: '/SEM/baidu',
    //       component: () => import('@/views/market/sem/baidu'),
    //       name: 'baidu',
    //       meta: { title: '百度', name: '98' }
    //     },
    //     {
    //       path: '/SEM/google',
    //       component: () => import('@/views/market/sem/google'),
    //       name: 'google',
    //       meta: { title: '谷歌', name: '98' }
    //     },

    //   ]
    // },
    {
      path: '/Form/index',
      name: 'form',
      component: () => import('@/views/form/index'),
      meta: { title: '表单管理', name: '32' }
    },
    {
      path: '/form/detail',
      component: () => import('@/views/market/sem/google'),
      name: 'formDetail',
      meta: { title: '表单数据', name: '98' }
    },
    {
      path: '/form/design',
      component: () => import('@/views/form/components/design'),
      name: 'formDesign',
      meta: { title: '表单设计', name: '98' }
    },
    {
      path: '/poster/index',
      name: 'poster',
      component: () => import('@/views/activity/poster/index'),
      meta: { title: '海报管理', name: '98' }
    }
    // {
    //   path: 'activity',
    //   component: () => import('@/views/activity/index'),
    //   name: 'activity',
    //   meta: { title: '活动管理', icon: 'icon-shujufenxi', name: '98' }
    // }
  ]
}
export default market
